﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ThreeByte.ActiveDeck.Config;
using ThreeByte.ActiveDeck.AddIn.Config;

namespace ThreeByte.ActiveDeck.AddIn.Extensibility
{
    [ActiveMacro]
    public abstract class ActiveMacro
    {
       

        public abstract void Execute();

        public ActiveMacro() {
            DisplayName = "Active Macro";
        }

        public string DisplayName { get; protected set; }

        protected CoreConfig GetCurrentConfig() {
            return Globals.ThisAddIn.GetCurrentConfig();
        }

        protected GraphicResourceSerializer GetCurrentResourceSerializer() {
            return Globals.ThisAddIn.GetCurrentResourceSerializer();
        }

    }
}
